home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Multimedia
/
Resource Library: Multimedia.iso
/
hypercrd
/
xcmds
/
dvlprstc.hqx
/
Developer Stack 1.3r
/
card_24253.txt
< prev
next >
Wrap
Text File
|
1991-04-30
|
1KB
|
55 lines
-- card: 24253 from stack: in.3r
-- bmap block id: 0
-- flags: 0000
-- background id: 2612
-- name: sendSerial
-- part contents for background part 13
----- text -----
15
-- part contents for background part 2
----- text -----
sendSerial
-- part contents for background part 10
----- text -----
Examples of use:
SendSerial <"12345">
ΓÇósends the string 12345 out the modem port at 9600 baud (the default)
SendSerial "12345", 1200
ΓÇósends the string 12345 out the modem port at 1200 baud
SendSerial "^41^42hello"
ΓÇósends the string ABhello at 9600 baud (41 is hex for A; 42 is hex for B)
(^ is shift/6 and must be followed by exactly two hex digits)
SendSerial "hello^^"
ΓÇósends hello^ (use two ^^ if you
really want a ^)
SendSerial "abcd^45^0D^0D", 2400
ΓÇósends abcdE<CR><CR> at 2400 baud (<CR> = carriage return (Ascii 0D))
-- part contents for background part 3
----- text -----
Send characters out the serial port.
-- part contents for background part 30
----- text -----
XCMD